package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.ThemeBean;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

public interface IThemeService {
    public IPage<ThemeBean> cutByItem(Integer pageNO,
                                      Integer channelId,
                                      String title,
                                      String name,
                                      LocalDate startDate,
                                      LocalDate endDate);

    public void add(ThemeBean theme);

    public ThemeBean findById(Integer id);
}
